package mips.instruction;

import mips.Reg;
import mips.element.Instruction;

public class LA extends Instruction {
    private Reg rd;
    private String label;

    public LA(Reg rd, String label) {
        this.rd = rd;
        this.label = label;
    }

    public Reg getRd() {
        return rd;
    }

    public String getLabel() {
        return label;
    }

    public String toString() {
        return "la\t" + rd + " " + label;
    }
}
